<%@ WebHandler Language="C#" Class="Logout" %>

using System;
using System.Web;
using System.Web.Security;
using System.Collections.Generic;

public class Logout : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
                      
        
        FormsAuthentication.SignOut(); 
               
        context.Response.Redirect("/framework/Login.aspx");
    }
 
    public bool IsReusable {
        get {
            return true;
        }
    }

}